var React = require('react-native');
var {
 View,
  AppRegistry,
} = React;

var OpenURLButton = require('./openurl');

var schema = React.createClass({

  render: function() {
    return (
      <View>
        <OpenURLButton url={'https://www.baidu.com'} />
        <OpenURLButton url={'tom://sign'} />
        <OpenURLButton url={'testapp://haha/open?name=lisi&age=30&from=ucbroswer'} />
        <OpenURLButton url={'tom://m.tom.com/checkin'} />
      </View>
    );
  },
});
AppRegistry.registerComponent('schema', () => schema);
